<?php

namespace app\index\controller;


class IndexController extends Controller
{
    //无需验证登录的方法
    public $authExcept = [
        'admin/auth/login',
        'admin/auth/logout',
        'admin/auth/captcha',
        'admin/auth/initgeetest',
    ];

    //用户登录首页
    public function index()
    {

        $this->admin['title'] = '登录';

        $this->assign([
            //登录设置，参考/config/admin/admin.php文件配置
            'login_config' => config('admin.login'),
        ]);

        return $this->fetch();
    }


}
